From: RyuzakiKK Date: Fri, 7 Dec 2018 09:51:39 +0000 (+0100) Subject: thunderbolt: fix missing variable underscore for `enrolling` X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2~1^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=616852cf2b1f235a5671013fbf3f1564be79ea1b;p=gnome-shell.git thunderbolt: fix missing variable underscore for `enrolling` The variable `this.enrolling` is a typo because it has not been defined before and is also never used. `this._enrolling` is what it was meant to be. --- diff --git a/js/ui/status/thunderbolt.js b/js/ui/status/thunderbolt.js index 4584748ed..3d7a9614a 100644 --- a/js/ui/status/thunderbolt.js +++ b/js/ui/status/thunderbolt.js @@ -195,7 +195,7 @@ var AuthRobot = new Lang.Class({ if (this._enrolling) return; - this.enrolling = true; + this._enrolling = true; GLib.idle_add(GLib.PRIORITY_DEFAULT, this._enrollDevicesIdle.bind(this)); },